package com.easybuy.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.easybuy.dao.Product_categoryMapper;
import com.easybuy.pojo.Product_category;

@Service
public class Product_categoryServiceImpl implements Product_categoryService{
	@Resource
	Product_categoryMapper product_categoryMapper;
	
	@Override
	public List<Product_category> selectCategories(int type) {
		// TODO Auto-generated method stub
		return product_categoryMapper.selectCategories(type);
	}

}
